package com.duanjw.springframework.configuration.imports;

import com.duanjw.springframework.configuration.service.impl.UserServiceImpl2;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author duanjw
 */
public class MyImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{
                UserServiceImpl2.class.getName()
        };
    }
}
